package cn.wolfcode.luowowo.comment.domain;

import lombok.Getter;
import lombok.Setter;
import org.springframework.data.annotation.Id;
import org.springframework.data.mongodb.core.mapping.Document;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;

@Getter
@Setter
@Document("ask_comment")
public class AskComment implements Serializable {

    @Id
    private String id;
    private Long questionId;

    private Long userId;
    private String username;
    private String headImgUrl;
    private int level;

    private int thumbupnum;
    private List<Long> thumbuplist = new ArrayList<>();

    private Date createTime;
    private String content;
}
